package com.rc.saas.tenant.model.shop;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ShopShippingAddressExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ShopShippingAddressExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andShippingAddressIdIsNull() {
            addCriterion("shipping_address_id is null");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIdIsNotNull() {
            addCriterion("shipping_address_id is not null");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIdEqualTo(Long value) {
            addCriterion("shipping_address_id =", value, "shippingAddressId");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIdNotEqualTo(Long value) {
            addCriterion("shipping_address_id <>", value, "shippingAddressId");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIdGreaterThan(Long value) {
            addCriterion("shipping_address_id >", value, "shippingAddressId");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIdGreaterThanOrEqualTo(Long value) {
            addCriterion("shipping_address_id >=", value, "shippingAddressId");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIdLessThan(Long value) {
            addCriterion("shipping_address_id <", value, "shippingAddressId");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIdLessThanOrEqualTo(Long value) {
            addCriterion("shipping_address_id <=", value, "shippingAddressId");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIdIn(List<Long> values) {
            addCriterion("shipping_address_id in", values, "shippingAddressId");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIdNotIn(List<Long> values) {
            addCriterion("shipping_address_id not in", values, "shippingAddressId");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIdBetween(Long value1, Long value2) {
            addCriterion("shipping_address_id between", value1, value2, "shippingAddressId");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIdNotBetween(Long value1, Long value2) {
            addCriterion("shipping_address_id not between", value1, value2, "shippingAddressId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNull() {
            addCriterion("member_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNotNull() {
            addCriterion("member_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberIdEqualTo(Long value) {
            addCriterion("member_id =", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotEqualTo(Long value) {
            addCriterion("member_id <>", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThan(Long value) {
            addCriterion("member_id >", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("member_id >=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThan(Long value) {
            addCriterion("member_id <", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("member_id <=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIn(List<Long> values) {
            addCriterion("member_id in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotIn(List<Long> values) {
            addCriterion("member_id not in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdBetween(Long value1, Long value2) {
            addCriterion("member_id between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("member_id not between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberNameIsNull() {
            addCriterion("member_name is null");
            return (Criteria) this;
        }

        public Criteria andMemberNameIsNotNull() {
            addCriterion("member_name is not null");
            return (Criteria) this;
        }

        public Criteria andMemberNameEqualTo(String value) {
            addCriterion("member_name =", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameNotEqualTo(String value) {
            addCriterion("member_name <>", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameGreaterThan(String value) {
            addCriterion("member_name >", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameGreaterThanOrEqualTo(String value) {
            addCriterion("member_name >=", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameLessThan(String value) {
            addCriterion("member_name <", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameLessThanOrEqualTo(String value) {
            addCriterion("member_name <=", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameLike(String value) {
            addCriterion("member_name like", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameNotLike(String value) {
            addCriterion("member_name not like", value, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameIn(List<String> values) {
            addCriterion("member_name in", values, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameNotIn(List<String> values) {
            addCriterion("member_name not in", values, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameBetween(String value1, String value2) {
            addCriterion("member_name between", value1, value2, "memberName");
            return (Criteria) this;
        }

        public Criteria andMemberNameNotBetween(String value1, String value2) {
            addCriterion("member_name not between", value1, value2, "memberName");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdIsNull() {
            addCriterion("shipping_province_id is null");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdIsNotNull() {
            addCriterion("shipping_province_id is not null");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdEqualTo(String value) {
            addCriterion("shipping_province_id =", value, "shippingProvinceId");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdNotEqualTo(String value) {
            addCriterion("shipping_province_id <>", value, "shippingProvinceId");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdGreaterThan(String value) {
            addCriterion("shipping_province_id >", value, "shippingProvinceId");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdGreaterThanOrEqualTo(String value) {
            addCriterion("shipping_province_id >=", value, "shippingProvinceId");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdLessThan(String value) {
            addCriterion("shipping_province_id <", value, "shippingProvinceId");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdLessThanOrEqualTo(String value) {
            addCriterion("shipping_province_id <=", value, "shippingProvinceId");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdLike(String value) {
            addCriterion("shipping_province_id like", value, "shippingProvinceId");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdNotLike(String value) {
            addCriterion("shipping_province_id not like", value, "shippingProvinceId");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdIn(List<String> values) {
            addCriterion("shipping_province_id in", values, "shippingProvinceId");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdNotIn(List<String> values) {
            addCriterion("shipping_province_id not in", values, "shippingProvinceId");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdBetween(String value1, String value2) {
            addCriterion("shipping_province_id between", value1, value2, "shippingProvinceId");
            return (Criteria) this;
        }

        public Criteria andShippingProvinceIdNotBetween(String value1, String value2) {
            addCriterion("shipping_province_id not between", value1, value2, "shippingProvinceId");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdIsNull() {
            addCriterion("shipping_city_id is null");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdIsNotNull() {
            addCriterion("shipping_city_id is not null");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdEqualTo(String value) {
            addCriterion("shipping_city_id =", value, "shippingCityId");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdNotEqualTo(String value) {
            addCriterion("shipping_city_id <>", value, "shippingCityId");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdGreaterThan(String value) {
            addCriterion("shipping_city_id >", value, "shippingCityId");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdGreaterThanOrEqualTo(String value) {
            addCriterion("shipping_city_id >=", value, "shippingCityId");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdLessThan(String value) {
            addCriterion("shipping_city_id <", value, "shippingCityId");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdLessThanOrEqualTo(String value) {
            addCriterion("shipping_city_id <=", value, "shippingCityId");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdLike(String value) {
            addCriterion("shipping_city_id like", value, "shippingCityId");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdNotLike(String value) {
            addCriterion("shipping_city_id not like", value, "shippingCityId");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdIn(List<String> values) {
            addCriterion("shipping_city_id in", values, "shippingCityId");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdNotIn(List<String> values) {
            addCriterion("shipping_city_id not in", values, "shippingCityId");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdBetween(String value1, String value2) {
            addCriterion("shipping_city_id between", value1, value2, "shippingCityId");
            return (Criteria) this;
        }

        public Criteria andShippingCityIdNotBetween(String value1, String value2) {
            addCriterion("shipping_city_id not between", value1, value2, "shippingCityId");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdIsNull() {
            addCriterion("shipping_area_id is null");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdIsNotNull() {
            addCriterion("shipping_area_id is not null");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdEqualTo(String value) {
            addCriterion("shipping_area_id =", value, "shippingAreaId");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdNotEqualTo(String value) {
            addCriterion("shipping_area_id <>", value, "shippingAreaId");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdGreaterThan(String value) {
            addCriterion("shipping_area_id >", value, "shippingAreaId");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdGreaterThanOrEqualTo(String value) {
            addCriterion("shipping_area_id >=", value, "shippingAreaId");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdLessThan(String value) {
            addCriterion("shipping_area_id <", value, "shippingAreaId");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdLessThanOrEqualTo(String value) {
            addCriterion("shipping_area_id <=", value, "shippingAreaId");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdLike(String value) {
            addCriterion("shipping_area_id like", value, "shippingAreaId");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdNotLike(String value) {
            addCriterion("shipping_area_id not like", value, "shippingAreaId");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdIn(List<String> values) {
            addCriterion("shipping_area_id in", values, "shippingAreaId");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdNotIn(List<String> values) {
            addCriterion("shipping_area_id not in", values, "shippingAreaId");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdBetween(String value1, String value2) {
            addCriterion("shipping_area_id between", value1, value2, "shippingAreaId");
            return (Criteria) this;
        }

        public Criteria andShippingAreaIdNotBetween(String value1, String value2) {
            addCriterion("shipping_area_id not between", value1, value2, "shippingAreaId");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIsNull() {
            addCriterion("shipping_address is null");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIsNotNull() {
            addCriterion("shipping_address is not null");
            return (Criteria) this;
        }

        public Criteria andShippingAddressEqualTo(String value) {
            addCriterion("shipping_address =", value, "shippingAddress");
            return (Criteria) this;
        }

        public Criteria andShippingAddressNotEqualTo(String value) {
            addCriterion("shipping_address <>", value, "shippingAddress");
            return (Criteria) this;
        }

        public Criteria andShippingAddressGreaterThan(String value) {
            addCriterion("shipping_address >", value, "shippingAddress");
            return (Criteria) this;
        }

        public Criteria andShippingAddressGreaterThanOrEqualTo(String value) {
            addCriterion("shipping_address >=", value, "shippingAddress");
            return (Criteria) this;
        }

        public Criteria andShippingAddressLessThan(String value) {
            addCriterion("shipping_address <", value, "shippingAddress");
            return (Criteria) this;
        }

        public Criteria andShippingAddressLessThanOrEqualTo(String value) {
            addCriterion("shipping_address <=", value, "shippingAddress");
            return (Criteria) this;
        }

        public Criteria andShippingAddressLike(String value) {
            addCriterion("shipping_address like", value, "shippingAddress");
            return (Criteria) this;
        }

        public Criteria andShippingAddressNotLike(String value) {
            addCriterion("shipping_address not like", value, "shippingAddress");
            return (Criteria) this;
        }

        public Criteria andShippingAddressIn(List<String> values) {
            addCriterion("shipping_address in", values, "shippingAddress");
            return (Criteria) this;
        }

        public Criteria andShippingAddressNotIn(List<String> values) {
            addCriterion("shipping_address not in", values, "shippingAddress");
            return (Criteria) this;
        }

        public Criteria andShippingAddressBetween(String value1, String value2) {
            addCriterion("shipping_address between", value1, value2, "shippingAddress");
            return (Criteria) this;
        }

        public Criteria andShippingAddressNotBetween(String value1, String value2) {
            addCriterion("shipping_address not between", value1, value2, "shippingAddress");
            return (Criteria) this;
        }

        public Criteria andShippingPersonIsNull() {
            addCriterion("shipping_person is null");
            return (Criteria) this;
        }

        public Criteria andShippingPersonIsNotNull() {
            addCriterion("shipping_person is not null");
            return (Criteria) this;
        }

        public Criteria andShippingPersonEqualTo(String value) {
            addCriterion("shipping_person =", value, "shippingPerson");
            return (Criteria) this;
        }

        public Criteria andShippingPersonNotEqualTo(String value) {
            addCriterion("shipping_person <>", value, "shippingPerson");
            return (Criteria) this;
        }

        public Criteria andShippingPersonGreaterThan(String value) {
            addCriterion("shipping_person >", value, "shippingPerson");
            return (Criteria) this;
        }

        public Criteria andShippingPersonGreaterThanOrEqualTo(String value) {
            addCriterion("shipping_person >=", value, "shippingPerson");
            return (Criteria) this;
        }

        public Criteria andShippingPersonLessThan(String value) {
            addCriterion("shipping_person <", value, "shippingPerson");
            return (Criteria) this;
        }

        public Criteria andShippingPersonLessThanOrEqualTo(String value) {
            addCriterion("shipping_person <=", value, "shippingPerson");
            return (Criteria) this;
        }

        public Criteria andShippingPersonLike(String value) {
            addCriterion("shipping_person like", value, "shippingPerson");
            return (Criteria) this;
        }

        public Criteria andShippingPersonNotLike(String value) {
            addCriterion("shipping_person not like", value, "shippingPerson");
            return (Criteria) this;
        }

        public Criteria andShippingPersonIn(List<String> values) {
            addCriterion("shipping_person in", values, "shippingPerson");
            return (Criteria) this;
        }

        public Criteria andShippingPersonNotIn(List<String> values) {
            addCriterion("shipping_person not in", values, "shippingPerson");
            return (Criteria) this;
        }

        public Criteria andShippingPersonBetween(String value1, String value2) {
            addCriterion("shipping_person between", value1, value2, "shippingPerson");
            return (Criteria) this;
        }

        public Criteria andShippingPersonNotBetween(String value1, String value2) {
            addCriterion("shipping_person not between", value1, value2, "shippingPerson");
            return (Criteria) this;
        }

        public Criteria andShippingMobileIsNull() {
            addCriterion("shipping_mobile is null");
            return (Criteria) this;
        }

        public Criteria andShippingMobileIsNotNull() {
            addCriterion("shipping_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andShippingMobileEqualTo(String value) {
            addCriterion("shipping_mobile =", value, "shippingMobile");
            return (Criteria) this;
        }

        public Criteria andShippingMobileNotEqualTo(String value) {
            addCriterion("shipping_mobile <>", value, "shippingMobile");
            return (Criteria) this;
        }

        public Criteria andShippingMobileGreaterThan(String value) {
            addCriterion("shipping_mobile >", value, "shippingMobile");
            return (Criteria) this;
        }

        public Criteria andShippingMobileGreaterThanOrEqualTo(String value) {
            addCriterion("shipping_mobile >=", value, "shippingMobile");
            return (Criteria) this;
        }

        public Criteria andShippingMobileLessThan(String value) {
            addCriterion("shipping_mobile <", value, "shippingMobile");
            return (Criteria) this;
        }

        public Criteria andShippingMobileLessThanOrEqualTo(String value) {
            addCriterion("shipping_mobile <=", value, "shippingMobile");
            return (Criteria) this;
        }

        public Criteria andShippingMobileLike(String value) {
            addCriterion("shipping_mobile like", value, "shippingMobile");
            return (Criteria) this;
        }

        public Criteria andShippingMobileNotLike(String value) {
            addCriterion("shipping_mobile not like", value, "shippingMobile");
            return (Criteria) this;
        }

        public Criteria andShippingMobileIn(List<String> values) {
            addCriterion("shipping_mobile in", values, "shippingMobile");
            return (Criteria) this;
        }

        public Criteria andShippingMobileNotIn(List<String> values) {
            addCriterion("shipping_mobile not in", values, "shippingMobile");
            return (Criteria) this;
        }

        public Criteria andShippingMobileBetween(String value1, String value2) {
            addCriterion("shipping_mobile between", value1, value2, "shippingMobile");
            return (Criteria) this;
        }

        public Criteria andShippingMobileNotBetween(String value1, String value2) {
            addCriterion("shipping_mobile not between", value1, value2, "shippingMobile");
            return (Criteria) this;
        }

        public Criteria andShippingPostIsNull() {
            addCriterion("shipping_post is null");
            return (Criteria) this;
        }

        public Criteria andShippingPostIsNotNull() {
            addCriterion("shipping_post is not null");
            return (Criteria) this;
        }

        public Criteria andShippingPostEqualTo(String value) {
            addCriterion("shipping_post =", value, "shippingPost");
            return (Criteria) this;
        }

        public Criteria andShippingPostNotEqualTo(String value) {
            addCriterion("shipping_post <>", value, "shippingPost");
            return (Criteria) this;
        }

        public Criteria andShippingPostGreaterThan(String value) {
            addCriterion("shipping_post >", value, "shippingPost");
            return (Criteria) this;
        }

        public Criteria andShippingPostGreaterThanOrEqualTo(String value) {
            addCriterion("shipping_post >=", value, "shippingPost");
            return (Criteria) this;
        }

        public Criteria andShippingPostLessThan(String value) {
            addCriterion("shipping_post <", value, "shippingPost");
            return (Criteria) this;
        }

        public Criteria andShippingPostLessThanOrEqualTo(String value) {
            addCriterion("shipping_post <=", value, "shippingPost");
            return (Criteria) this;
        }

        public Criteria andShippingPostLike(String value) {
            addCriterion("shipping_post like", value, "shippingPost");
            return (Criteria) this;
        }

        public Criteria andShippingPostNotLike(String value) {
            addCriterion("shipping_post not like", value, "shippingPost");
            return (Criteria) this;
        }

        public Criteria andShippingPostIn(List<String> values) {
            addCriterion("shipping_post in", values, "shippingPost");
            return (Criteria) this;
        }

        public Criteria andShippingPostNotIn(List<String> values) {
            addCriterion("shipping_post not in", values, "shippingPost");
            return (Criteria) this;
        }

        public Criteria andShippingPostBetween(String value1, String value2) {
            addCriterion("shipping_post between", value1, value2, "shippingPost");
            return (Criteria) this;
        }

        public Criteria andShippingPostNotBetween(String value1, String value2) {
            addCriterion("shipping_post not between", value1, value2, "shippingPost");
            return (Criteria) this;
        }

        public Criteria andIsDefaultIsNull() {
            addCriterion("is_default is null");
            return (Criteria) this;
        }

        public Criteria andIsDefaultIsNotNull() {
            addCriterion("is_default is not null");
            return (Criteria) this;
        }

        public Criteria andIsDefaultEqualTo(String value) {
            addCriterion("is_default =", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotEqualTo(String value) {
            addCriterion("is_default <>", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultGreaterThan(String value) {
            addCriterion("is_default >", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultGreaterThanOrEqualTo(String value) {
            addCriterion("is_default >=", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultLessThan(String value) {
            addCriterion("is_default <", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultLessThanOrEqualTo(String value) {
            addCriterion("is_default <=", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultLike(String value) {
            addCriterion("is_default like", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotLike(String value) {
            addCriterion("is_default not like", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultIn(List<String> values) {
            addCriterion("is_default in", values, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotIn(List<String> values) {
            addCriterion("is_default not in", values, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultBetween(String value1, String value2) {
            addCriterion("is_default between", value1, value2, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotBetween(String value1, String value2) {
            addCriterion("is_default not between", value1, value2, "isDefault");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}